package io;

import java.io.FileInputStream;

public class Test1 {
    public static void main(String[] args) throws Exception {
        FileInputStream fis = new FileInputStream("fos.txt");
        int d;
        while ((d = fis.read()) != -1) {
            System.out.println((char) d);
        }
        fis.close();
    }
}
